package com.leagueoflegends.service;

import com.leagueoflegends.bean.ChampionSkin;
import com.leagueoflegends.bean.ChampionSkinDTO;
import com.leagueoflegends.bean.ChampionSkinVO;

import java.util.List;

public interface ChampionSkinService {

    void insert(ChampionSkin skin);

    void deleteById(Integer id);

    void deleteByChampionId(Integer championId);

    void update(ChampionSkin skin);

    List<ChampionSkin> select(Integer championId);

    /**
     * 进入皮肤管理界面查看所有皮肤
     * @return
     */
    List<ChampionSkin> SelectChampionSkin();

//    List<ChampionSkinVO> selectAll(int pageNum, int pageSize,String type, String find);
    List<ChampionSkinDTO> selectAll1(int pageNum, int pageSize, String type, String find);

}
